import { peanoPoints } from '../algorithm/peano.js'
import { _path2 } from './path2.js'

export const _peano = (options, props) => {
    // let points = polarPoints(options)
    // let { depth = 0, skew = 0, amplitude = 1 } = options

    // let ps = kochPoints({ points, depth, skew, amplitude })
    let { o, r,depth,a } = options

    let points = peanoPoints({ o, r,depth,a })
    return _path2({
        ...options,
        points,
    }, props)
}
